package collect.taobao.service.impl;

import java.util.List;

import collect.taobao.bean.MailBean;
import collect.taobao.dao.CollectDataDao;
import collect.taobao.service.CollectData;

public class CollectDataImpl implements CollectData{
	
	private CollectDataDao mailDao;
	public List collectData() {
		return mailDao.collectData();
	}
	public int save(MailBean mailBean) {
		return mailDao.save(mailBean);
	}

	public int delete(String id) {
		return 0;
	}
	public MailBean query(String id) {
		return null;
	}
	public List queryList() {
		return null;
	}
	public int update(MailBean mailBean) {
		return 0;
	}
	public void setMailDao(CollectDataDao mailDao) {
		this.mailDao = mailDao;
	}
}
